<template>
	<view class="chose_city_box box">
		<!-- <u-navbar back-text="返回" title="请选择城市" custom-back='back'></u-navbar> -->
		<t-index-address @select="select"></t-index-address>
	</view>
</template>

<script>
	export default {
		data() {
			return {}
		},
		onLoad() {},
		onPageScroll(e) {
			this.scrollTop = e.scrollTop;
		},
		methods: {

			back() {
				console.log(1111);
				uni.navigateBack()
			},
			select(e) {
				console.log(e);
				uni.setStorage({
					key: "choseCtiy",
					data: e,
				})
				uni.setStorage({
					key: "firstCtiy",
					data: e.code,
				})
				uni.navigateBack()
			},
		}
	}
</script>

<style lang="scss" scoped>
	.chose_city_box {
		margin-top: 0rpx;
		width: 90%;
		margin: auto;
	}

	.list-cell {
		display: flex;
		box-sizing: border-box;
		width: 100%;
		padding: 10px 24rpx;
		overflow: hidden;
		color: #323233;
		font-size: 14px;
		line-height: 24px;
		background-color: #fff;
	}

	.u-index-list__letter {
		display: none !important;
	}
</style>